package com.campus.service.impl;

import com.campus.mapper.LabMapper;
import com.campus.pojo.entity.Lab;
import com.campus.service.LabService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Slf4j
public class LabServiceImpl implements LabService {
    
    @Autowired
    private LabMapper labMapper;
    
    @Override
    public List<Lab> getAll() {
        return labMapper.getAll();
    }
}
